#include "Warrior.h"
#include "CharacterObserver.h"

#include <iostream>

using namespace std;

int main()
{
	Warrior* w = new Warrior();
	CharacterObserver* ob = new CharacterObserver(w);

	cout << "INITIAL STATS OF CHARACTER: " << endl;
	ob->show();

	cout << "Press enter to change some values: ";
	cin.ignore();
	cout << endl;

	w->dataChange(9, 2, 4,1,12);

	cout << "Press enter to change some values: ";
	cin.ignore();
	cout << endl;

	w->dataChange(1, 3, 7,2,0);

	cout << "Press enter to change some values: ";
	cin.ignore();
	cout << endl;

	w->dataChange(3, 2, 4,8,3);

	system("pause");
	

	delete ob;
	delete w;

	return 0;
}
